
package com.cbts.dao.impl;


import java.util.List;

import com.cbts.dao.UserInfoDao;
import com.cbts.entity.UserInfo;

/**
 * @author 邱鸿辉
 *
 */
public class UserInfoDaoImpl extends BaseDaoImpl<UserInfo> implements UserInfoDao {

	
	public List<UserInfo> getUserInfoByEmail(String email){
		String hql = "and o. email = ?";
		return  findByProperty(hql,new Object[]{email},-1,-1).getPageItems();
	}
}
